import { NestMiddleware } from "@nestjs/common";
import { NextFunction } from "express";

export class LoggerMiddleware implements NestMiddleware{
    use(req: Request, res: Response, next: NextFunction) {
        console.log("请求开始",res,req)
        next();
    }

}